<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>

<html>

<!--Made By kailuosoft.com, TEL 171 9992 9517 -->

<head>



    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>订单明细</title>

    <meta name="keywords" content="">

    <meta name="description" content="">



     <link rel="shortcut icon" href="favicon.ico"> <link href="/Public/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">

    <link href="/Public/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="/Public/css/plugins/iCheck/custom.css" rel="stylesheet">

    <link href="/Public/css/animate.min.css" rel="stylesheet">

    <link href="/Public/css/style.min862f.css?v=4.1.0" rel="stylesheet">

	<link href="/Public/css/page.css" rel="stylesheet">

    <link href="/Public/css/new.css" rel="stylesheet">

	<script src="/Public/js/jquery.min63b9.js?v=2.1.4"></script>

    <script src="/Public/js/plugins/layer/layer.min.js"></script>

</head>

<body class="gray-bg">

    <div class="wrapper wrapper-content animated fadeInRight">

        <div class="row">

            <div class="col-sm-12">

                <div class="ibox float-e-margins">

                    <div class="ibox-title">

                           <h5>订单明细</h5>

                    </div>

                    <div class="ibox-content">

                            <div class="col-sm-10"> 

                            	<div style="margin-bottom:20px;">

                                <table class="table table-bordered table-striped table-hover" style="width:100%">

                                    <thead >

                                        <tr>

                                            <th class="sort-column name" rowspan="3">SKU</th>

                                            <th class="sort-column name">图片</th>

                                            <th class="sort-column name">售价</th>

											<?php if($acc_type["look_details"] == '1'): ?><th class="sort-column name">采购单价</th><?php endif; ?>

                                            <th class="sort-column name">订单数量</th>

                                            <th class="sort-column name">总价</th>

                                        </tr>

                                    </thead>

                                    <tbody>

                                   

                                    <?php if(is_array($order_details)): foreach($order_details as $k=>$order): ?><tr>

                                       		<td><?php echo ($order["sku"]); ?></td>

                                            <td>

                                            	<img src="/Public/images/<?php echo ($order["sku"]); ?>/<?php echo ($order["main_pic"]); ?>" alt="图片已丢失" style="width:200px;height:200px;"/>

                                            </td>

                                            <td>

                                            	<?php echo ($order["purchase_price"]); ?>

                                            </td>

											<?php if($acc_type["look_details"] == '1'): ?><td>

                                                <?php echo ($order["cost_price"]); ?>

                                            </td><?php endif; ?>

                                            <td><?php echo ($order["quantity"]); ?> </td>

                                            <td>

                                            	<?php echo $order['purchase_price']*$order['quantity'];?>

                                            </td>

                                       </tr><?php endforeach; endif; ?>

                                       

                                                

                                    </tbody>

                                </table>

                                </div>  

                        	</div>

                    </div>

                </div>

            </div>

        </div>

    </div>

    <script src="/Public/js/jquery.min63b9.js?v=2.1.4"></script>

	<script src="/Public/js/bootstrap.min14ed.js?v=3.3.6"></script>

    <script src="/Public/js/plugins/peity/jquery.peity.min.js"></script>

    <script src="/Public/js/content.mine209.js?v=1.0.0"></script>

    <script src="/Public/js/plugins/iCheck/icheck.min.js"></script>

    <script src="/Public/js/demo/peity-demo.min.js"></script>

    

    <script src="/Public/js/plugins/layer/laydate/laydate.js"></script>

    <script src="/Public/js/plugins/jquery.tablesort.min.js"></script>

   





</body>

<!--Made By kailuosoft.com, TEL 171 9992 9517 -->

<script  type="text/javascript"  src="http://g.tbcdn.cn/sj/securesdk/0.0.3/securesdk_v2.js"  id="J_secure_sdk_v2" data-appkey="23416550"></script>

</html>